const routes = [
    [
        {
            name: '首页',
            icon: 'main',
            url: 'main',
            sub: []
        },
        {
            name: '预约挂号',
            url: 'appointment',
            icon: 'appointment',
            sub: [
                {
                    name: '在线预约',
                    icon: 'online_appointm'
                },
                {
                    name: '预约管理',
                    icon: 'appointm_mana'
                }
            ]
        },
        {
            name: '个人中心',
            url: 'profile',
            icon: 'profile',
            sub: []
        }
    ],
    [
        {
            name: '首页',
            icon: 'main',
            url: 'main',
            sub: []
        },
        {
            name: '预约管理',
            url: 'appointmentMana',
            icon: 'appointm_mana',
            sub: [
                {
                    name: '挂号处理',
                    icon: 'online_appointm'
                },
                {
                    name: '已完成挂号',
                    icon: 'appointm_mana'
                }
            ]
        },
        {
            name: '门诊信息',
            url: 'examination',
            icon: 'examination',
            sub: []
        },
        {
            name: '个人中心',
            url: 'profile',
            icon: 'profile',
            sub: []
        }
    ],
    [
        {
            name: '首页',
            icon: 'main',
            url: 'main',
            sub: []
        },
        {
            name: '系统管理',
            url: 'system',
            icon: 'appointm_mana',
            sub: [
                {
                    name: '公告管理',
                    icon: 'online_appointm'
                },
                {
                    name: '留言板管理',
                    icon: 'appointm_mana'
                },
                {
                    name: '挂号类型管理',
                    icon: 'appointm_mana'
                },
                {
                    name: '挂号科室管理',
                    icon: 'appointm_mana'
                }
            ]
        },
        {
            name: '医生管理',
            url: 'doctors',
            icon: 'doctor',
            sub: []
        },
        {
            name: '用户管理',
            url: 'users',
            icon: 'doctor',
            sub: []
        },
        {
            name: '预约管理',
            url: 'appointmentMana',
            icon: 'doctor',
            sub: []
        },
        {
            name: '门诊信息',
            url: 'examination',
            icon: 'examination',
            sub: []
        },
        {
            name: '个人中心',
            url: 'profile',
            icon: 'profile',
            sub: []
        }
    ],
]

